package invoicesystem.entry;

public class User {

  private  int id;//主键
  private  String name;//用户名
  private  String enterprise_id;//企业id
  private  String phone;//手机号
  private  String account;//账号
  private  String password;//密码
  private  String idcard_name;//身份证姓名
  private  String idcard_no;//身份证号码

    public int getId() {
        return id;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", enterprise_id='" + enterprise_id + '\'' +
                ", phone='" + phone + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", idcard_name='" + idcard_name + '\'' +
                ", idcard_no='" + idcard_no + '\'' +
                '}';
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(String enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdcard_name() {
        return idcard_name;
    }

    public void setIdcard_name(String idcard_name) {
        this.idcard_name = idcard_name;
    }

    public String getIdcard_no() {
        return idcard_no;
    }

    public void setIdcard_no(String idcard_no) {
        this.idcard_no = idcard_no;
    }

    public User(int id, String name, String enterprise_id, String phone, String account, String password, String idcard_name, String idcard_no) {
        this.id = id;
        this.name = name;
        this.enterprise_id = enterprise_id;
        this.phone = phone;
        this.account = account;
        this.password = password;
        this.idcard_name = idcard_name;
        this.idcard_no = idcard_no;
    }

    public User() {
    }
}
